﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FavouriteProduct.ascx.cs" Inherits="VIT.Web.Modules.FavouriteProduct.FavouriteProduct" %>

<asp:Repeater ID="rpt" runat="server">
    <ItemTemplate>
        <div class="sp">
            <div class="sp_boder" id="bay<%#Eval("Id") %>">
                <a href="<%=URLRoot %>Components/Product/Detail.aspx?sId=<%#Eval("Id") %>">
                <img src="<%=URLRoot %>Uploads/Images/Products/Thumbs/<%#Eval("Image") %>" height="100px" width="100px"></a>
            </div>
            <div class="tt_sp"> <%#Eval("Title") %> </div>
            <span class="gia_sp"><%#Eval("Price").ToString() != "0" ? Eval("Price","{0:#,#} VNĐ") : "Liên hệ"%> </span>
            <div class="chitiet_sp">
                <a href="<%=URLRoot %>Components/Product/Detail.aspx?sId=<%#Eval("Id") %>">
                    <%= GetGlobalResourceObject("Web", "ChiTiet")%>
                </a>
            </div>
            <div class="muahang_sp" onclick="fly('bay<%#Eval("Id") %>','divGio');ThemVaoGio('<%=URLRoot %>update','<%#Eval("Id") %>','1')">
                    <%= GetGlobalResourceObject("Web", "DatHang")%>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>
